package lambda.interfaces;

import dto.Person;

/**
 * 工厂方法create
 * @author kxd
 * @param <P>
 */
@FunctionalInterface
public interface PersonFactory<P extends Person> {
    P create(String firstName, String lastName);
}
